using System;
using System.Runtime.Serialization;

namespace ChannelVN.Cached.Base
{
    [Serializable()]
    public class CacheMonitorItem : ISerializable
    {
        public string Ids;
        public bool IsProcessed;
        public long NewsId;
        public long TagId;
        public int ZoneId;

        public void GetObjectData(SerializationInfo info, StreamingContext context)
        {
            info.AddValue("IDs", Ids);
            info.AddValue("IsProcessed", IsProcessed);
            info.AddValue("NewsId", NewsId);
            info.AddValue("ZoneId", ZoneId);
            info.AddValue("TagId", TagId);
        }
    }
}
